// 在首页中设置点击图片后切换导航的store
let homeview:Object={
    state:{
        // 导航折叠收起
        navBool:false,
        // 控制修改的弹出框
        dialogFormVisible:false,
        // 用户数据
        tableData : [
            {
              date: '2016-05-03',
              name: 'Tom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-02',
              name: 'Bom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-04',
              name: 'Aom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-01',
              name: 'Zom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-08',
              name: 'Dom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-06',
              name: 'Fom',
              address: 'No. 189, Grove St, Los Angeles',
            },
            {
              date: '2016-05-07',
              name: 'Kom',
              address: 'No. 189, Grove St, Los Angeles',
            }
        ]
    },
    getters:{

    },mutations:{
        // 修改navbool值
        SET_NAVBOOL(state:any){
            state.navBool=!state.navBool
        },
        // 用户信息修改 update
        SET_DIALOG(state:any){
            state.dialogFormVisible=!state.dialogFormVisible
        }
    },actions:{

    },
}
export default homeview